pp108 : append (Deprecated)

append (Deprecated)


This Web service operation appends a source file to a specified target file.

SOAP Request
<append xmlns="http://schemas.cordys.com/1.0/ftp">
    <server>ftpserver</server>
    <user>anonymous</user>
    <password>[email protected]</password>
    <portno>21</portno>
    <notification-subject>FTP</notification-subject>
    <files>
        <path type="ascii">
            <source>C:\Emp.xml</source>
            <target>\temp.xml</target>
        </path>
    </files>
</append>

Request Parameters

Tags

Description

server

Name of the FTP server to which the files are to be uploaded.

user

Name of the FTP user

password

Password of the FTP user

portno

The port number used by the FTP server. This tag is optional.

notification-subject

Notification subject on which the user has to subscribe to the Event service, to obtain the status of the request

files

Contains the files to append

path

The path of a file on the FTP server

type

The mode of transfer either (ASCII or binary)

source

The source path of the file to append

target

The target path to which the source file has to be appended


SOAP Response
<appendResponse xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <server xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">ftpserver</server>
    <user xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">anonymous</user>
    <portno xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">21</portno>
    <notification-subject xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">FTP</notification-subject>
    <files xmlns="http://schemas.cordys.com/1.0/ftp">
        <path type="ascii" xmlns="http://schemas.cordys.com/1.0/ftp" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
            <source>C:\Emp.xml</source>
            <target>\temp.xml</target>
            <status>Transfer In Progress. Check With Event Service For Status Of Transaction.</status>
            <statuscode/>
        </path>
    </files>
</appendResponse>


Note: For each path in the request message, the response contains the source, target, and download status information. A similar message is sent to the Event Log Viewer on completion of the operation, with all status messages.